function request(url,data={},method){
	return new Promise((rejected,resolve)=>{
		uni.request({
			url:"https://shopapi.smartisan.com/" + url,
			data:data,
			method:"Get",
			success(res) {
				rejected(res.data)
			},
			fail(err) {
				resolve(err)
			}
		})
	})
}
export default request